import { createRoot } from 'react-dom/client'
import App from './App'
import React from 'react'
import { Provider } from 'react-redux'
import { store } from './store'
import { ConfigProvider } from 'antd'
import zhCN from 'antd/locale/zh_CN'

const container = document.getElementById('root')

const root = createRoot(container!)

root.render(
    <React.StrictMode>
        <ConfigProvider locale={zhCN}>
            <Provider store={store}>
                < App />
            </Provider>
        </ConfigProvider>
    </React.StrictMode>
)
